package com.hospital.hl7package.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.hl7package.module.entity.OperationMaster;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lvyao
 * @since 2020-09-11
 */
public interface OperationMasterMapper extends BaseMapper<OperationMaster> {
  int getMaxOperId(@Param("patientId") String patientId, @Param("visitId") String visitId);
  OperationMaster getOperation(@Param("oneKey") String oneKey);
  Boolean deleteOperation(@Param("oneKey") String oneKey);
  Boolean getUpdateFlag();
}
